<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2022-04-27
  Time: 11:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <jsp:useBean id="wzz" class="com.es.bean.Student" scope="request"></jsp:useBean>
  <!--要求这个属性有setter方法-->
  <jsp:setProperty name="wzz" property="id" value="1"></jsp:setProperty>
  <jsp:setProperty name="wzz" property="name" value="王照智"></jsp:setProperty>

    取出bean的属性(得有getter方法):
    id:${pageScope.wzz.id},name:${wzz.name}


</body>
</html>
